<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:72:"/data/mnt/wwwroot/luckydraw/m/public/../application/view/prize/prize.php";i:1495701408;}*/ ?>
<!DOCTYPE html>
<html>
<head lang="en">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width">
	<title>抽奖</title>
	<link rel="stylesheet" href="<?php echo \think\Config::get('resources'); ?>/css/wyf-style.css">
	<script type="text/javascript" src="<?php echo \think\Config::get('resources'); ?>/js/jquery-1.11.3.min.js"></script>
	<script type="text/javascript">
        new function (){
            var _self = this;
            _self.width = 750;//设置默认最大宽度
            _self.fontSize = 100;//默认字体大小
            _self.widthProportion = function(){var p = document.getElementsByTagName("html")[0].offsetWidth/_self.width;return p>1?1:p;};
            _self.changePage = function(){
                document.getElementsByTagName("html")[0].setAttribute("style","font-size:"+_self.widthProportion()*_self.fontSize+"px !important");
            };
            _self.changePage();
            window.addEventListener("resize",function(){_self.changePage();},false);
        };
	</script>
</head>
<body>
<?php if($info['status']): ?>
	<div class="lot-tk" >
		<div class="lot-tkz">
			<div class="top"><b><?php echo $info['message']; ?></b></div>
			<p>恭喜您获得一张<?php echo $info['message']; ?>门票</p>
			<ul>
				<li onClick="window.location.href='<?php echo $url; ?>'">返回</li>
			</ul>
		</div>
	</div>
<?php else: ?>
	<div class="lot-wtk">
		<div class="lot-tkz">
			<div class="top"><i><?php echo $info['message']; ?></i></div>
			<p></p>
			<ul>
				<li onClick="window.location.href='javascript:history.go(-1);'">返回上一页</li>
			</ul>
		</div>
	</div>
<?php endif; ?>

</body>
</html>